↳ Prolog
↳ PrologToPiTRSProof
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_ag(.(X, .(Y, [])), Edges))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U2_gggg(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_gga(Y, Not_Visited, V1))
delete_in_gga(X, .(X, Y), Y) → delete_out_gga(X, .(X, Y), Y)
delete_in_gga(X, .(H, T1), .(H, T2)) → U7_gga(X, H, T1, T2, delete_in_gga(X, T1, T2))
U7_gga(X, H, T1, T2, delete_out_gga(X, T1, T2)) → delete_out_gga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_gggg(Y, Z, Edges, V1))
U5_gggg(X, Z, Edges, Not_Visited, reach_out_gggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_ag(.(X, .(Y, [])), Edges))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U2_gggg(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_gga(Y, Not_Visited, V1))
delete_in_gga(X, .(X, Y), Y) → delete_out_gga(X, .(X, Y), Y)
delete_in_gga(X, .(H, T1), .(H, T2)) → U7_gga(X, H, T1, T2, delete_in_gga(X, T1, T2))
U7_gga(X, H, T1, T2, delete_out_gga(X, T1, T2)) → delete_out_gga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_gggg(Y, Z, Edges, V1))
U5_gggg(X, Z, Edges, Not_Visited, reach_out_gggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
REACH_IN_GGGG(X, Y, Edges, Not_Visited) → U1_GGGG(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
REACH_IN_GGGG(X, Y, Edges, Not_Visited) → MEMBER_IN_GG(.(X, .(Y, [])), Edges)
MEMBER_IN_GG(X, .(H, L)) → U6_GG(X, H, L, member_in_gg(X, L))
MEMBER_IN_GG(X, .(H, L)) → MEMBER_IN_GG(X, L)
REACH_IN_GGGG(X, Z, Edges, Not_Visited) → U2_GGGG(X, Z, Edges, Not_Visited, member_in_ag(.(X, .(Y, [])), Edges))
REACH_IN_GGGG(X, Z, Edges, Not_Visited) → MEMBER_IN_AG(.(X, .(Y, [])), Edges)
MEMBER_IN_AG(X, .(H, L)) → U6_AG(X, H, L, member_in_ag(X, L))
MEMBER_IN_AG(X, .(H, L)) → MEMBER_IN_AG(X, L)
U2_GGGG(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → U3_GGGG(X, Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
U2_GGGG(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → MEMBER_IN_GG(Y, Not_Visited)
U3_GGGG(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_in_gga(Y, Not_Visited, V1))
U3_GGGG(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → DELETE_IN_GGA(Y, Not_Visited, V1)
DELETE_IN_GGA(X, .(H, T1), .(H, T2)) → U7_GGA(X, H, T1, T2, delete_in_gga(X, T1, T2))
DELETE_IN_GGA(X, .(H, T1), .(H, T2)) → DELETE_IN_GGA(X, T1, T2)
U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → U5_GGGG(X, Z, Edges, Not_Visited, reach_in_gggg(Y, Z, Edges, V1))
U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → REACH_IN_GGGG(Y, Z, Edges, V1)
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_ag(.(X, .(Y, [])), Edges))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U2_gggg(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_gga(Y, Not_Visited, V1))
delete_in_gga(X, .(X, Y), Y) → delete_out_gga(X, .(X, Y), Y)
delete_in_gga(X, .(H, T1), .(H, T2)) → U7_gga(X, H, T1, T2, delete_in_gga(X, T1, T2))
U7_gga(X, H, T1, T2, delete_out_gga(X, T1, T2)) → delete_out_gga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_gggg(Y, Z, Edges, V1))
U5_gggg(X, Z, Edges, Not_Visited, reach_out_gggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
REACH_IN_GGGG(X, Y, Edges, Not_Visited) → U1_GGGG(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
REACH_IN_GGGG(X, Y, Edges, Not_Visited) → MEMBER_IN_GG(.(X, .(Y, [])), Edges)
MEMBER_IN_GG(X, .(H, L)) → U6_GG(X, H, L, member_in_gg(X, L))
MEMBER_IN_GG(X, .(H, L)) → MEMBER_IN_GG(X, L)
REACH_IN_GGGG(X, Z, Edges, Not_Visited) → U2_GGGG(X, Z, Edges, Not_Visited, member_in_ag(.(X, .(Y, [])), Edges))
REACH_IN_GGGG(X, Z, Edges, Not_Visited) → MEMBER_IN_AG(.(X, .(Y, [])), Edges)
MEMBER_IN_AG(X, .(H, L)) → U6_AG(X, H, L, member_in_ag(X, L))
MEMBER_IN_AG(X, .(H, L)) → MEMBER_IN_AG(X, L)
U2_GGGG(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → U3_GGGG(X, Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
U2_GGGG(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → MEMBER_IN_GG(Y, Not_Visited)
U3_GGGG(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_in_gga(Y, Not_Visited, V1))
U3_GGGG(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → DELETE_IN_GGA(Y, Not_Visited, V1)
DELETE_IN_GGA(X, .(H, T1), .(H, T2)) → U7_GGA(X, H, T1, T2, delete_in_gga(X, T1, T2))
DELETE_IN_GGA(X, .(H, T1), .(H, T2)) → DELETE_IN_GGA(X, T1, T2)
U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → U5_GGGG(X, Z, Edges, Not_Visited, reach_in_gggg(Y, Z, Edges, V1))
U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → REACH_IN_GGGG(Y, Z, Edges, V1)
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_ag(.(X, .(Y, [])), Edges))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U2_gggg(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_gga(Y, Not_Visited, V1))
delete_in_gga(X, .(X, Y), Y) → delete_out_gga(X, .(X, Y), Y)
delete_in_gga(X, .(H, T1), .(H, T2)) → U7_gga(X, H, T1, T2, delete_in_gga(X, T1, T2))
U7_gga(X, H, T1, T2, delete_out_gga(X, T1, T2)) → delete_out_gga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_gggg(Y, Z, Edges, V1))
U5_gggg(X, Z, Edges, Not_Visited, reach_out_gggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
DELETE_IN_GGA(X, .(H, T1), .(H, T2)) → DELETE_IN_GGA(X, T1, T2)
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_ag(.(X, .(Y, [])), Edges))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U2_gggg(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_gga(Y, Not_Visited, V1))
delete_in_gga(X, .(X, Y), Y) → delete_out_gga(X, .(X, Y), Y)
delete_in_gga(X, .(H, T1), .(H, T2)) → U7_gga(X, H, T1, T2, delete_in_gga(X, T1, T2))
U7_gga(X, H, T1, T2, delete_out_gga(X, T1, T2)) → delete_out_gga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_gggg(Y, Z, Edges, V1))
U5_gggg(X, Z, Edges, Not_Visited, reach_out_gggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
DELETE_IN_GGA(X, .(H, T1), .(H, T2)) → DELETE_IN_GGA(X, T1, T2)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
DELETE_IN_GGA(X, .(H, T1)) → DELETE_IN_GGA(X, T1)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
MEMBER_IN_AG(X, .(H, L)) → MEMBER_IN_AG(X, L)
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_ag(.(X, .(Y, [])), Edges))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U2_gggg(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_gga(Y, Not_Visited, V1))
delete_in_gga(X, .(X, Y), Y) → delete_out_gga(X, .(X, Y), Y)
delete_in_gga(X, .(H, T1), .(H, T2)) → U7_gga(X, H, T1, T2, delete_in_gga(X, T1, T2))
U7_gga(X, H, T1, T2, delete_out_gga(X, T1, T2)) → delete_out_gga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_gggg(Y, Z, Edges, V1))
U5_gggg(X, Z, Edges, Not_Visited, reach_out_gggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
MEMBER_IN_AG(X, .(H, L)) → MEMBER_IN_AG(X, L)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
MEMBER_IN_AG(.(H, L)) → MEMBER_IN_AG(L)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
MEMBER_IN_GG(X, .(H, L)) → MEMBER_IN_GG(X, L)
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_ag(.(X, .(Y, [])), Edges))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U2_gggg(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_gga(Y, Not_Visited, V1))
delete_in_gga(X, .(X, Y), Y) → delete_out_gga(X, .(X, Y), Y)
delete_in_gga(X, .(H, T1), .(H, T2)) → U7_gga(X, H, T1, T2, delete_in_gga(X, T1, T2))
U7_gga(X, H, T1, T2, delete_out_gga(X, T1, T2)) → delete_out_gga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_gggg(Y, Z, Edges, V1))
U5_gggg(X, Z, Edges, Not_Visited, reach_out_gggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
MEMBER_IN_GG(X, .(H, L)) → MEMBER_IN_GG(X, L)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
MEMBER_IN_GG(X, .(H, L)) → MEMBER_IN_GG(X, L)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
U3_GGGG(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_in_gga(Y, Not_Visited, V1))
REACH_IN_GGGG(X, Z, Edges, Not_Visited) → U2_GGGG(X, Z, Edges, Not_Visited, member_in_ag(.(X, .(Y, [])), Edges))
U2_GGGG(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → U3_GGGG(X, Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → REACH_IN_GGGG(Y, Z, Edges, V1)
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_ag(.(X, .(Y, [])), Edges))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U2_gggg(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_gga(Y, Not_Visited, V1))
delete_in_gga(X, .(X, Y), Y) → delete_out_gga(X, .(X, Y), Y)
delete_in_gga(X, .(H, T1), .(H, T2)) → U7_gga(X, H, T1, T2, delete_in_gga(X, T1, T2))
U7_gga(X, H, T1, T2, delete_out_gga(X, T1, T2)) → delete_out_gga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_gggg(Y, Z, Edges, V1))
U5_gggg(X, Z, Edges, Not_Visited, reach_out_gggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
U3_GGGG(X, Z, Edges, Not_Visited, Y, member_out_gg(Y, Not_Visited)) → U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_in_gga(Y, Not_Visited, V1))
REACH_IN_GGGG(X, Z, Edges, Not_Visited) → U2_GGGG(X, Z, Edges, Not_Visited, member_in_ag(.(X, .(Y, [])), Edges))
U2_GGGG(X, Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])), Edges)) → U3_GGGG(X, Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_out_gga(Y, Not_Visited, V1)) → REACH_IN_GGGG(Y, Z, Edges, V1)
delete_in_gga(X, .(X, Y), Y) → delete_out_gga(X, .(X, Y), Y)
delete_in_gga(X, .(H, T1), .(H, T2)) → U7_gga(X, H, T1, T2, delete_in_gga(X, T1, T2))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U7_gga(X, H, T1, T2, delete_out_gga(X, T1, T2)) → delete_out_gga(X, .(H, T1), .(H, T2))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
U4_GGGG(Z, Edges, Y, delete_out_gga(V1)) → REACH_IN_GGGG(Y, Z, Edges, V1)
REACH_IN_GGGG(X, Z, Edges, Not_Visited) → U2_GGGG(Z, Edges, Not_Visited, member_in_ag(Edges))
U3_GGGG(Z, Edges, Not_Visited, Y, member_out_gg) → U4_GGGG(Z, Edges, Y, delete_in_gga(Y, Not_Visited))
U2_GGGG(Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])))) → U3_GGGG(Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
delete_in_gga(X, .(X, Y)) → delete_out_gga(Y)
delete_in_gga(X, .(H, T1)) → U7_gga(H, delete_in_gga(X, T1))
member_in_ag(.(H, L)) → member_out_ag(H)
member_in_ag(.(H, L)) → U6_ag(member_in_ag(L))
member_in_gg(H, .(H, L)) → member_out_gg
member_in_gg(X, .(H, L)) → U6_gg(member_in_gg(X, L))
U7_gga(H, delete_out_gga(T2)) → delete_out_gga(.(H, T2))
U6_ag(member_out_ag(X)) → member_out_ag(X)
U6_gg(member_out_gg) → member_out_gg
delete_in_gga(x0, x1)
member_in_ag(x0)
member_in_gg(x0, x1)
U7_gga(x0, x1)
U6_ag(x0)
U6_gg(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
REACH_IN_GGGG(X, Z, Edges, Not_Visited) → U2_GGGG(Z, Edges, Not_Visited, member_in_ag(Edges))
Used ordering: Polynomial interpretation [25]:
U4_GGGG(Z, Edges, Y, delete_out_gga(V1)) → REACH_IN_GGGG(Y, Z, Edges, V1)
U3_GGGG(Z, Edges, Not_Visited, Y, member_out_gg) → U4_GGGG(Z, Edges, Y, delete_in_gga(Y, Not_Visited))
U2_GGGG(Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])))) → U3_GGGG(Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
POL(.(x1, x2)) = 1 + x2
POL(REACH_IN_GGGG(x1, x2, x3, x4)) = 1 + x4
POL(U2_GGGG(x1, x2, x3, x4)) = x3
POL(U3_GGGG(x1, x2, x3, x4, x5)) = x3
POL(U4_GGGG(x1, x2, x3, x4)) = x4
POL(U6_ag(x1)) = x1
POL(U6_gg(x1)) = 0
POL(U7_gga(x1, x2)) = 1 + x2
POL([]) = 0
POL(delete_in_gga(x1, x2)) = x2
POL(delete_out_gga(x1)) = 1 + x1
POL(member_in_ag(x1)) = x1
POL(member_in_gg(x1, x2)) = 0
POL(member_out_ag(x1)) = 0
POL(member_out_gg) = 0
U7_gga(H, delete_out_gga(T2)) → delete_out_gga(.(H, T2))
delete_in_gga(X, .(H, T1)) → U7_gga(H, delete_in_gga(X, T1))
delete_in_gga(X, .(X, Y)) → delete_out_gga(Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
U4_GGGG(Z, Edges, Y, delete_out_gga(V1)) → REACH_IN_GGGG(Y, Z, Edges, V1)
U3_GGGG(Z, Edges, Not_Visited, Y, member_out_gg) → U4_GGGG(Z, Edges, Y, delete_in_gga(Y, Not_Visited))
U2_GGGG(Z, Edges, Not_Visited, member_out_ag(.(X, .(Y, [])))) → U3_GGGG(Z, Edges, Not_Visited, Y, member_in_gg(Y, Not_Visited))
delete_in_gga(X, .(X, Y)) → delete_out_gga(Y)
delete_in_gga(X, .(H, T1)) → U7_gga(H, delete_in_gga(X, T1))
member_in_ag(.(H, L)) → member_out_ag(H)
member_in_ag(.(H, L)) → U6_ag(member_in_ag(L))
member_in_gg(H, .(H, L)) → member_out_gg
member_in_gg(X, .(H, L)) → U6_gg(member_in_gg(X, L))
U7_gga(H, delete_out_gga(T2)) → delete_out_gga(.(H, T2))
U6_ag(member_out_ag(X)) → member_out_ag(X)
U6_gg(member_out_gg) → member_out_gg
delete_in_gga(x0, x1)
member_in_ag(x0)
member_in_gg(x0, x1)
U7_gga(x0, x1)
U6_ag(x0)
U6_gg(x0)